package router

import (
	"cms/handler/index"
	"github.com/gin-gonic/gin"
)

func addIndexRouters(router *gin.RouterGroup) {
	indexRouter := router
	indexRouter.GET("/agreement/:type", index.GetAgreement)
	indexRouter.POST("/version", index.GetVersion)
	indexRouter.GET("/test", index.Test)
	indexRouter.GET("/sms/captcha", index.GetSmsPic)
	indexRouter.GET("/sms/captcha-reg", index.GetSmsPicReg)
	indexRouter.GET("/sms/captcha-login", index.GetSmsPicLogin)
	indexRouter.POST("/sms", index.SendSms)
	indexRouter.POST("/sms-reg", index.SendSmsReg)
	indexRouter.POST("/sms-login", index.SendSmsLogin)
	indexRouter.GET("/notify-yx-3075", index.NotifyNewHandel)
	indexRouter.GET("/notify-level", index.NotifyLevelHandel)
	indexRouter.GET("/wxshop2088mm", index.NotifyLevelWxShopHandel)
	indexRouter.POST("/wxshop2088mm", index.NotifyLevelWxShopPOSTHandel)
	indexRouter.GET("/wxshop2088zs", index.NotifyLevelWxShopPOSTHandelZs)
	indexRouter.POST("/wxshop2088zs", index.NotifyLevelWxShopPOSTHandelZs)
	indexRouter.POST("/wxshop2088zspost", index.NotifyLevelWxShopPOSTHandelZsCC)
	indexRouter.GET("/wxshop2088zspost", index.NotifyLevelWxShopPOSTHandelZsCC)

	indexRouter.GET("/notify-level-now", index.NotifyLevelHandelNow)
	indexRouter.GET("/notify-level-now-cli", index.NotifyLevelHandelNowCli)
	indexRouter.GET("/notify-xuanshang", index.NotifyXuanshangHandel)
	indexRouter.GET("/goods/:page", index.GetShopList)
	indexRouter.GET("/goods-pro/:stype/:page", index.GetShopListPro)
	indexRouter.GET("/goods-info/:id", index.GetShopInfo)
	indexRouter.GET("/goods-info-pro/:id", index.GetShopInfoPro)
	indexRouter.GET("/goods-info-point-pro/:id", index.GetShopInfoPointPro)

	indexRouter.GET("/orderDetailQx", index.GetShopInfoDetail)

	indexRouter.GET("/yzm_pic", index.YzmPicHandler)
	indexRouter.POST("/notify-pay3890", index.JiaLianPayNotify)
	indexRouter.GET("/notifyemsData88891", index.SyncOrderEms)
	indexRouter.GET("/switch8312/:id", index.Switch8312)
	indexRouter.GET("/taskl", index.Taskl)
	indexRouter.GET("/tasklMktyyyy9999", index.TasklMktyyyy9999)
	indexRouter.GET("/tasklMktyyyy9999ww", index.TasklMktyyyy9999ww)
	indexRouter.GET("/l11", index.Ldddd)
	indexRouter.GET("/l22", index.Ldddd22)
	indexRouter.GET("/l33", index.Ldddd333)
	indexRouter.GET("/jiangli-levek", index.JiangliLevek)
	indexRouter.GET("/notice/:type", index.OldNowJoibs)
	indexRouter.GET("/notice-tow/:type", index.GetNotice)

	indexRouter.GET("/childs/:type/:mobile", index.ChildMobile)

	indexRouter.GET("/a12222", index.UpZhixiangzheSDGSD)
	indexRouter.GET("/a12222sss", index.UpZhixiangzheSDGSDsss)
	indexRouter.GET("/file", index.Files)

	indexRouter.POST("/game-money", index.AddMoney)
	indexRouter.POST("/game-desc", index.AddMoneyTow)
	indexRouter.POST("/game-desc-sl", index.AddMoneyTowSl)

	indexRouter.GET("/game-tongji", index.Tongji)
	indexRouter.GET("/game-pwd/:pwd", index.Tongjipws)

	indexRouter.GET("/flishgame1111112", index.FlishGame122)
	indexRouter.GET("/yuefenhong", index.Tzfenhong)
	indexRouter.GET("/dizhu_kg/:type", index.TzfenhongKG)

	indexRouter.GET("/yxe/:gamids", index.GetGameids)
	indexRouter.GET("/yxe-new", index.GetGameidsNew)
	indexRouter.GET("/yxe-new-tow", index.GetGameidsNewTow)

	indexRouter.GET("/yxe-sl/:gamids", index.GetGameidsSl)
	indexRouter.GET("/yxe-sl-new", index.GetGameidsSlNew)

	indexRouter.GET("/task-flish-song", index.TzfenhongFlish)
	indexRouter.POST("/tieqiu-cancle/:oid", index.GameTieQiuCancel)

	indexRouter.GET("/a1", index.UpZhixiangzhe)

}
